const state = {
    count: 0
}
const mutations = {
    increment(state) {
        state.count++;
      },
    decrement(state) {
        state.count--;
    }
}
const actions ={
    increment(context) {
        context.commit('increment');
      },
    decrement(context) {
        context.commit('decrement');
    }
}
export default {
    namespaced: true,
    state,
    mutations,
    actions
  }
  